<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

	<xsl:template match="formConstructor/field[@type='formCheckboxGroup']">
		<tr class="dark">
			<xsl:call-template name="fieldTitle"/>
			<td width="50%">
				<xsl:for-each select="box">
					<label>
						<input name="{../@name}_{@name}" type="checkbox" class="checkboxInput" value="1">
							<xsl:if test="@checked">
								<xsl:attribute name="checked">checked</xsl:attribute>
							</xsl:if>
						</input>
						<span>&#160;<xsl:value-of select="." /></span>
					</label><br/>
				</xsl:for-each>
			</td>
		</tr>
	</xsl:template>

</xsl:stylesheet>